package com.design.state.football2;

public class Main {
    public static void main(String[] args) {
        FootballPlayer player = new FootballPlayer();

        // 模拟比赛过程，让状态自动切换
        for (int i = 0; i < 10; i++) {
            player.play();
        }
    }
}
